package mtt.us.client.views.stundenplan;

import mtt.us.client.views.fachbereich.events.ShowStudiengangViewEvent;
import mtt.us.hmvcFramework.client.hmvc.controller.GuiController;
import mtt.us.hmvcFramework.client.hmvc.events.AddViewEvent;
import hmvc4gwt.client.event.HmvcEvent;

public class StundenplanController extends GuiController {

	
	public void doInitImpl() {
		register(ShowStudiengangViewEvent.class, this);
	}

	public void handleEventImpl(HmvcEvent event) {
		
		if (event instanceof ShowStudiengangViewEvent) {
			fireEvent(new AddViewEvent(getView()), true, false, false);
		}
		
	}
}
